package com.example.demo.proxy;

public class Main {
    public static void main(String[] args) {
        HouseSubject houseSubject=new RealHouseSubject();
        HouseProxy houseProxy=new HouseProxy(houseSubject);
        houseProxy.rent();
        System.out.println("=========");
        houseProxy.sale();
    }
}
